Skip to contentSkip to conversation

GL_ARB_gpu_shader_int64. Compute shader. Shared storage.

Bug 103972 [email protected] 1 participant 4 messages Nov 29, 2017 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=103972

Bug ID: 103972
Summary: GL_ARB_gpu_shader_int64. Compute shader. Shared
storage.
Product: Mesa
Version: 17.3
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 135802
--> https://bugs.freedesktop.org/attachment.cgi?id=135802&action=edit
main.cpp and shader.

Hello.
I can't assign a variable with the data from shared storage. Before 17.2.5 this bug affected all storage types, when using loops. It was fixed. Now its with shared storage only. Some algorithms are impossible to implement efficiently. I've created a test app to reproduce this bug.
Output should be:
OUTPUT: 2101479989,1917184202,4191109983,1779160146
Currently it is:
0,0,4191109983,1779160146

It was also tested with AMD proprietary driver(GL_AMD_gpu_shader_int64) on Windows 10 and worked correct.
Note 1: If you remove a "shared" qualifier inside shader, you will see a correct output.
Note 2: Sometimes an app freezes my OS on Shader Program execution.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=103972

Rodaemac <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Version|17.3 |17.2

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103972

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Timothy Arceri <[email protected]> --- Created attachment 138773
--> https://bugs.freedesktop.org/attachment.cgi?id=138773&action=edit
Piglit test

I've turn this into a piglit test. We hit and assert when using the TGSI backend and the NIR backend doesn't currently handle storing or loading shared 64bit values.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=103972

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #2 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1289.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel